package org.openlaszlo.eu.io.dto;

import org.openlaszlo.eu.dto.DTO;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.Annotations;

/**
 * The parent class for all FileManagerDTO subclass.
 * This class must be updated if other subclasses contains annotations otherwise the
 * annotations will be not taken into account. 
 *
 * 
 * @author Dominique Vernier
 *
 */
public abstract class FileManagerDTO extends DTO {
	
	/* (non-Javadoc)
	 * @see org.openlaszlo.eu.dto.DTO#setAnnotations(com.thoughtworks.xstream.XStream)
	 */
	public void setAnnotations(XStream xstream) {
		Annotations.configureAliases(xstream, FileDescriptorDTO.class);
	}

}
